%h2{:class=>"content_header"}
  ==#{t(:campaign)}: #{@campaign.name}
.content_container
  =campaign_status(@campaign)
  .div
    =image_tag(@campaign.campaign_image.url(:big))      
  .campaign_description
    %p
      =@campaign.description
  .campaign_duration
    %p
      =campaign_dates(@campaign)
    %p
      =campaign_participants(@campaign)
    %p
  -if !@campaign.ended
    .campaign_instruction
      %h1
        =t(:campaign_how_to_participate_title)
      %p
        =@campaign.instructions_to_participate
  
      
  -if !user_participating?(@campaign) and @campaign.active? 
    .action_required
      =link_to t(:campaign_join_now), join_page_campaign_url(@campaign)
  
  -if !@campaign.ended
    .campaign_points
      %h1
        =t(:campaign_how_to_win_title)
      %p
        =@campaign.instructions_to_win
      
      %h2
        =t(:campaign_how_to_win_from_friends_title)
      %p
        =image_tag("icon_like.gif")
        =t(:campaign_invite_friends_to_vote_content_win_points,:points=>@campaign.points_content_voted)


      %p
        =image_tag("icon_comment.gif")
        =t(:campaign_invite_friends_to_comment_content_win_points,:points=>@campaign.points_content_commented)

      %h2
        =t(:campaign_how_to_win_actions_from_you_title)
    
      %p
        =image_tag("icon_friends.gif")
        =t(:campaign_invite_friends_win_points,:points=>@campaign.points_invite_friends)
      %p
        =image_tag("icon_add.gif")
        =t(:campaign_submit_content_win_points,:points=>@campaign.points_submit_content)
      %p
        =image_tag("icon_comment.gif")
        =t(:campaign_comment_content_win_points,:points=>@campaign.points_comment_content)
      %p
        =image_tag("icon_like.gif")
        =t(:campaign_vote_content_win_points,:points=>@campaign.points_vote_content)

      
     
     
      -if !user_participating?(@campaign) and @campaign.active?
        %p
          .action_required
            =link_to t(:campaign_join_now_short), join_page_campaign_url(@campaign)
    
    .campaign_useful_links
      %p
        =link_to @campaign.campaign_faq_page.title, page_permalink_url(@campaign.campaign_faq_page.permalink), :target=>"_blank"
        |
        =link_to @campaign.campaign_rules_page.title, page_permalink_url(@campaign.campaign_rules_page.permalink), :target=>"_blank"
        |
        =link_to @campaign.campaign_tos_page.title, page_permalink_url(@campaign.campaign_tos_page.permalink), :target=>"_blank"
        |
        =link_to @campaign.campaign_privacy_page.title, page_permalink_url(@campaign.campaign_privacy_page.permalink), :target=>"_blank"